/**
 * User: alesj
 * Date: 22.1.2006
 * Time: 20:40:01
 * 
 * (C) Genera Lynx d.o.o.
 */

package com.alesj.blueberry.spring.result;

/**
 * @author <a href="mailto:ales.justin@genera-lynx.com">Ales Justin</a>
 */
public class DefaultResult implements MessageInfo {

    private String key;
    private Object[] args;

    public DefaultResult(String key) {
        this.key = key;
    }

    public DefaultResult(String key, Object[] args) {
        this.args = args;
        this.key = key;
    }

    public String getKey() {
        return key;
    }

    public Object[] getArgs() {
        return args;
    }

}
